package com.zusmart.core.config.data;

import com.zusmart.base.util.GenericUtils;
import com.zusmart.core.config.support.AbstractConfigDataConverter;

public class ConfigDataConverterForClass extends AbstractConfigDataConverter<Class<?>> {

	@Override
	public Class<Class<?>> getSupportClass() {
		return GenericUtils.parse(Class.class);
	}

	@Override
	protected Class<?> doConvert(String value) throws Exception {
		return Class.forName(value);
	}

}